package com.larsgard.gedviewer.shared;

import java.io.Serializable;

/**
 * <pre>
 * 
 * <RELATIONSHIP type="ParentOf" linkto="I1738-Torgerson" family="F591">
 * 	<NAME>
 * 		<GIVEN_NAMES>Helge</GIVEN_NAMES>
 * 		<FAMILY_NAME>Torgerson</FAMILY_NAME>
 * 	</NAME>
 * </RELATIONSHIP>
 * 
 * </pre>
 * 
 * @author nilsmagnus
 * 
 */
public class Relationship implements Serializable {
    private static final long serialVersionUID = 1535766652197058620L;
    private String type;
    private String linkto;
    private String givenName;
    private String familyName;

    public void setFamilyName(String familyName) {
	this.familyName = familyName;
    }

    public String getFamilyName() {
	return familyName;
    }

    public void setGivenName(String givenName) {
	this.givenName = givenName;
    }

    public String getGivenName() {
	return givenName;
    }

    public void setLinkto(String linkto) {
	this.linkto = linkto;
    }

    public String getLinkto() {
	return linkto;
    }

    public void setType(String type) {
	this.type = type;
    }

    public String getType() {
	return type;
    }
}
